import React from 'react';
export default class Courseware extends React.Component{
    constructor(props){
        super();
        if(props.fill===undefined){
            this.state={
                fill:"#5393eb"
            }
        }
        else{
            this.state={
                fill:props.fill
            }
        }
        
    }
    UNSAFE_componentWillReceiveProps(prop){
        if(prop.fill===undefined||prop.fill===""){
            this.setState({
                fill:"#5393eb"
            })
        }
        else{
            this.setState({
                fill:prop.fill
            })
        }
    }
    render(){
        return(
            <svg  fill={this.state.fill}  xmlns="http://www.w3.org/2000/svg" width="38.909" height="38.784" viewBox="0 0 38.909 38.784">
            <g id="课件_2_" data-name="课件 (2)" transform="translate(0.3 0.3)">
                <path id="路径_958" data-name="路径 958" className="cls-1" d="M84.728,255.674c-.02-.011-.04-.02-.058-.029a2.618,2.618,0,0,0-1.147-.261H66.737a2.637,2.637,0,0,0-1.669.593c-.022.02-.046.038-.069.06a2.75,2.75,0,0,0-.9,2.041v16.559a2.761,2.761,0,0,0,2.2,2.7.125.125,0,0,0,.04.007,2.639,2.639,0,0,0,.4.031H83.524a2.643,2.643,0,0,0,.5-.046,2.762,2.762,0,0,0,2.143-2.688V258.092a2.751,2.751,0,0,0-1.437-2.417Z" transform="translate(-64.095 -247.267)"/>
                <path  id="路径_936" data-name="路径 936" className="cls-2" d="M586.783,331.8h-9.549v2.727h9.549a1.364,1.364,0,0,0,0-2.727Zm0-5.454h-9.547v2.727h9.547a1.364,1.364,0,1,0,0-2.727Zm0-5.454h-9.547v2.727h9.547a1.364,1.364,0,1,0,0-2.727Zm1.364,1.364a1.365,1.365,0,0,0-1.364-1.364h-9.547v2.727h9.547A1.364,1.364,0,0,0,588.145,322.258Zm-1.364,4.091h-9.547v2.727h9.547a1.364,1.364,0,1,0,0-2.727Zm0,5.454h-9.549v2.727h9.549a1.364,1.364,0,0,0,0-2.727Z" transform="translate(-555.29 -309.975)"/>
                <path  id="路径_937" data-name="路径 937" className="cls-2" d="M122.105,73.74V69.649a4.09,4.09,0,0,1,4.088-4.088h24.551a4.089,4.089,0,0,1,4.091,4.088v30a4.094,4.094,0,0,1-4.091,4.091h-24.55a4.092,4.092,0,0,1-4.088-4.091V95.563h-2.727a2.78,2.78,0,0,1-.51-.048,2.609,2.609,0,0,0,.394.031h16.6a2.609,2.609,0,0,0,.492-.046,2.8,2.8,0,0,1-.608.068H124.83v4.091a1.365,1.365,0,0,0,1.364,1.364h24.551a1.364,1.364,0,0,0,1.364-1.364V69.664a1.364,1.364,0,0,0-1.364-1.364H126.194a1.365,1.365,0,0,0-1.364,1.364v4.091" transform="translate(-116.526 -65.561)"/>
                <path  id="路径_938" data-name="路径 938" className="cls-2" d="M224.609,397.952a2.182,2.182,0,0,0,.24-1.32,2.313,2.313,0,0,0-.292-1.184,1,1,0,0,0-.892-.384h-4.72v3.248h4.72a1.112,1.112,0,0,0,.944-.36Zm-8.184,5.528v-10.9h7.8a3.2,3.2,0,0,1,1.64.34,2.354,2.354,0,0,1,.808.744,2.878,2.878,0,0,1,.356.9,7.03,7.03,0,0,1,.128,1.276q.02.79,0,1.58a6.254,6.254,0,0,1-.26,1.856,2.222,2.222,0,0,1-.612.96,1.917,1.917,0,0,1-.82.428,5.75,5.75,0,0,1-1.22.1h-5.3v2.712h-2.52Z" transform="translate(-209.91 -378.599)"/>
                <path  id="路径_939" data-name="路径 939" className="cls-2" d="M84.728,255.674c-.02-.011-.04-.02-.058-.029a2.618,2.618,0,0,0-1.147-.261H66.737a2.637,2.637,0,0,0-1.669.593c-.022.02-.046.038-.069.06a2.75,2.75,0,0,0-.9,2.041v16.559a2.761,2.761,0,0,0,2.2,2.7.125.125,0,0,0,.04.007,2.639,2.639,0,0,0,.4.031H83.524a2.643,2.643,0,0,0,.5-.046,2.762,2.762,0,0,0,2.143-2.688V258.092a2.751,2.751,0,0,0-1.437-2.417Zm-.921,18.968a.4.4,0,0,1-.267.376H66.733a.4.4,0,0,1-.28-.381V258.079a.39.39,0,0,1,.12-.286.279.279,0,0,1,.164-.051H83.524a.272.272,0,0,1,.1.017.391.391,0,0,1,.183.332v16.55Z" transform="translate(-64.095 -247.267)"/>
            </g>
            </svg>
            );
    }
}